package com.huatao.auth.domain.convert;

import com.huatao.auth.domain.bo.AuthUserBO;
import com.huatao.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthBoConverter {

    AuthBoConverter INSTANCE = Mappers.getMapper(AuthBoConverter.class);

    AuthUser convertBOToInfra(AuthUserBO authUserBO);

    AuthUserBO convertInfraToBO(AuthUser authUser);
}
